import Vue from 'vue'
import App from './App.vue'
import store from '@/store'

Vue.config.productionTip = false
import router from '@/router';
//三级联动组件--全局组件
import TypeNav from '@/components/TypeNav';
Vue.component(TypeNav.name,TypeNav); //对应组件名称和组件
import 'swiper/css/swiper.css';

//引入mockServe.js
import '@/mock/mockServe';
new Vue({
  render: h => h(App),
  //注册路由
  router,
  store
}).$mount('#app')
